package com.njitzx.service;

import com.njitzx.entity.po.Permission;
import com.github.pagehelper.PageInfo;
import com.njitzx.entity.vo.PermVO;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 周鑫
 * @since 2024-08-20
 */
public interface PermissionService {
    PageInfo<Permission> findPage(Integer pageNum, Integer pageSize, Permission permission);

    Permission findById(Serializable psId);

    void add(Permission permission);

    void modify(Permission permission);

    void removeById(Serializable psId);

    List<PermVO> findAll(String type);
}
